
using System;
using System.Text;

using NHibernate;
using NHibernate.Cfg;
using NHibernate.Criterion;
using NHibernate.Exceptions;

using LastFMGenNHibernate.EN.LastFM;
using LastFMGenNHibernate.CAD.LastFM;

using System.Collections.Generic;

namespace LastFMGenNHibernate.CEN.LastFM
{
        public partial class AlbumCEN
        {
        public System.Collections.Generic.IList<LastFMGenNHibernate.EN.LastFM.CancionEN> ListarCanciones (int p_oid)
        {
                /*PROTECTED REGION ID(LastFM.AlbumCEN_ListarCanciones_precondition) START*/
            AlbumEN albumaux = _IAlbumCAD.ReadOIDDefault(p_oid);
            /*
            ICancionCAD cadcancion = new CancionCAD();
            IList<CancionEN> listaCanciones;
            listaCanciones = cadcancion.DevolverCanciones(1,50);*/
                // Preconditions
                // if( !() )
                //              throw new ModelException("Method ListarCanciones() preconditions are violated.");

                /*PROTECTED REGION END*/

                /*PROTECTED REGION ID(LastFM.AlbumCEN_ListarCanciones_body) ENABLED START*/

                // Body
                //throw new NotImplementedException ("Method ListarCanciones() not yet implemented.");

                /*PROTECTED REGION END*/

                /*PROTECTED REGION ID(LastFM.AlbumCEN_ListarCanciones_postcondition) START*/

                // Postconditions
                // if( !() )
                //              throw new ModelException("Method ListarCanciones() postconditions are violated.");
           // return listaCanciones;
            return albumaux.Cancion;
                /*PROTECTED REGION END*/
        }
        }
}
